package elitech.vietnam.myfashion.view;

import android.content.Context;
import android.view.LayoutInflater;
import android.widget.LinearLayout;
import android.widget.TextView;
import elitech.vietnam.myfashion.R;

public class IndicatorView extends LinearLayout {
	
	private TextView txtText;
	
	public IndicatorView(Context context, String text) {
		super(context);
		LayoutInflater inflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
		if(inflater != null){
	           inflater.inflate(R.layout.tab_indicator, this);
	    }
		
		txtText = (TextView) this.findViewById(R.id.indicator_txtName);
		txtText.setText(text);
		
	}
}
